[Fatal Error] :-1:-1: Premature end of file.怎么回事?

来源:百度知道 编辑:UC知道 时间:2024/05/21 12:15:49
我在测试银行日结对账程序是出现[Fatal Error] :-1:-1: Premature end of file,得不到应该返回的报文(.xml)

Clipboard.Clear();
if (RegisterHotKey(HotKeyHandle, 100, 0, Keys.F12) == true) { nextHotKey = Keys.F12; }
else if (RegisterHotKey(HotKeyHandle, 100, 0, Keys.F11) == true) { nextHotKey = Keys.F11; }
else if (RegisterHotKey(HotKeyHandle, 100, 0, Keys.F10) == true) { nextHotKey = Keys.F10; }
else if (RegisterHotKey(HotKeyHandle, 100, 0, Keys.F9) == true) { nextHotKey = Keys.F9; }
//else { MessageBox.Show("快捷键注册失败!"); }
if (nextHotKey != Keys.None)
{
//热键1注册成功!
}
//else MessageBox.Show("注册失败");

nextHotKey = Keys.None;
if (RegisterHotKey(HotKeyHandle, 200, 0, Keys.F12) == true) { nextHotKey = Keys.F12; }
else if (RegisterHotKey(HotKeyHandle, 200, 0, Keys.F11) == true) { nextHotKey = Keys.F11; }
else if (RegisterHotKey(HotKeyHandle, 200, 0, Keys.F10) == true) { nextHotKey = Keys.F10; }
else if (RegisterHotKey(HotKeyHandle, 200, 0, Keys.F9) == true) { nextHotKey = Keys.F9; }